package com.itheima.domain;

public class ContactCondition {
    private String nameLike;
    private Integer fromAge;
    private Integer toAge;

    @Override
    public String toString() {
        return "ContactCondition{" +
                "nameLike='" + nameLike + '\'' +
                ", fromAge=" + fromAge +
                ", toAge=" + toAge +
                '}';
    }

    public String getNameLike() {
        return nameLike;
    }

    public void setNameLike(String nameLike) {
        this.nameLike = nameLike;
    }

    public Integer getFromAge() {
        return fromAge;
    }

    public void setFromAge(Integer fromAge) {
        this.fromAge = fromAge;
    }

    public Integer getToAge() {
        return toAge;
    }

    public void setToAge(Integer toAge) {
        this.toAge = toAge;
    }

    public ContactCondition(String nameLike, Integer fromAge, Integer toAge) {
        this.nameLike = nameLike;
        this.fromAge = fromAge;
        this.toAge = toAge;
    }

    public ContactCondition() {
    }
}
